package com.ruoyi.framework.web.service;

import com.ruoyi.project.lab.domain.Lab;
import com.ruoyi.project.lab.service.LabService;
import com.ruoyi.project.system.dict.domain.DictData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * RuoYi首创 html调用 thymeleaf 实现字典读取
 * 
 * @author ruoyi
 */
@Service("lab")
public class LabServices
{
    @Autowired
    private LabService labService;

    /**
     * 根据字典类型查询字典数据信息
     *
     * @return 参数键值
     */
    public List<Lab> getType()
    {
        Lab lab=new Lab();
        lab.setLabStatus("0");
        return labService.selectlabList(lab);
    }
}
